package com.ma.server;

import com.ma.entity.Admin;
import com.ma.entity.Student;
import com.ma.entity.Teacher;

import java.util.List;
import java.util.ListResourceBundle;

/**
 * @ProjectName: project
 * @Package: com.ma.server
 * @ClassName: AdminServer
 * @Author: YHHHH
 * @Description:
 * @Date: 2021/4/8 0:03
 * @Version: 1.0
 */
public interface AdminServer {

    /*
    管理员登陆
     */
    Admin findAdmin(Admin admin);
    /*
    新建学生
     */
    Integer addStudent(Student student);
    /*
    找到全部学生
     */
    List<Student> findAllStudents();
    /*
    删除学生
     */
    Integer deleteStudents(String number);
    /*
    查找所有老师
     */
    List<Teacher> findAllTeacher();
        /*
    新建老师
     */
    Integer addTeacher(Teacher teacher);
}
